package com.topisv.tms.repository.work.prepkg;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import com.topisv.tms.entity.work.prepkg.PrepkgUpTask;

/**
 * 上架任务（预包装流程）_DAO
 * @author ch
 *
 */
public abstract interface PrepkgUpTaskDao extends PagingAndSortingRepository<PrepkgUpTask, Long>, JpaSpecificationExecutor<PrepkgUpTask>
{

	@Query("select t from PrepkgUpTask t where t.taskCode=? ")
	PrepkgUpTask loadByTaskCode(String taskCode);

}